<p>
  {{#if doc.isApiDoc}}
    The <code>{{doc.title}}</code> API
  {{else}}
  The <code>{{doc.title}}</code> document
  {{/if}}

  {{#if doc.noPriorReleases}}
    has been published to Electron's master branch,
    but has not yet been included in an Electron release.
  {{else}}
    was introduced
    {{#each doc.releases}}
      {{#if @last}}
        <time data-date="{{this.data.published_at}}"></time>
      {{/if}}
    {{/each}}
    in
    <a href="https://github.com/electron/electron/releases/tag/{{doc.birthTag}}">
      Electron {{doc.birthTag}}
    </a>
  {{/if}}

</p>

<table class="table table-ruled table-full-width mb-7">
  {{#each doc.releases}}
    <tr>
      <td>
          <a href="https://github.com/electron/electron/blob/{{this.data.tag_name}}{{../doc.href}}.md">
            <span class="octicon octicon-mark-github mr-1"></span>
            {{../doc.slug}}.md @ {{this.data.version}}
          </a>
      </td>
      <td>
          <time data-date="{{this.data.published_at}}" data-format="%B %d, %Y"></time>
      </td>
      <td>
          <time data-date="{{this.data.published_at}}"></time>
      </td>
    </tr>
  {{/each}}
</table>
